package controleur;

import java.util.Date;
import java.util.Observer;

import Classe.ChambreCategorie;
import Classe.proxy.ReservationCourante;

public class ControleurReservation{	
	private ReservationCourante ReservationCourante;
	public ControleurReservation(){
		ReservationCourante = new ReservationCourante();
	}
	public void newReservation(Observer o) {	
		ReservationCourante.newReservation(o);
	}

	public void addReservationItem(Date pDebut, Date pFin, int pNbChambre, ChambreCategorie.CategorieChambre pChambreCategorie,Observer o) {
		ReservationCourante.addReservationItem(pDebut, pFin, pNbChambre, pChambreCategorie, o);
	}
	public void getReservationData()
	{
		ReservationCourante.getReservationData();
	}
	public void confirmer(String pPrenom, String pNom, String pTelephone)
	{
		ReservationCourante.confirmer(pPrenom,pNom,pTelephone);
	}
	public void delete()
	{
		ReservationCourante.delete();
		ReservationCourante = null;
	}
	public void addObserver(Observer o, Boolean enfant)
	{
		ReservationCourante.addObserver(o,enfant);
	}
}
